package com.liujit.standard.basis.admin.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Description 系统菜单
 * @Author LiuJun
 * @Date 2021-03-26 09:15:51
 */
@Data
@ApiModel("系统菜单")
public class SysMenu {

    @ApiModelProperty("主键")
    @TableField(fill = FieldFill.INSERT)
    private Long id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("父id")
    private Long pid;

    @ApiModelProperty("类型：1、目录。2、菜单。3、按钮。")
    private Short menuType;

    @ApiModelProperty("路由")
    private String path;

    @ApiModelProperty("权限标识")
    private String authCode;

    @ApiModelProperty("图标")
    private String icons;

    @ApiModelProperty("序号")
    private Integer seq;

    @ApiModelProperty("是否隐藏：1、是。0、否。")
    private Short isHidden;

    @ApiModelProperty("创建人")
    @TableField(fill = FieldFill.INSERT)
    private Long createUserId;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新人")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUserId;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}